package com.example.jin.myapplication;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.example.jin.myapplication.beatbox.BeatBoxFragment;

import java.util.UUID;

/**
 * Created by jin on 2016/5/30.
 */
public class CrimeActivity extends SingleFragmentActivity{

    private UUID uuid;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected Fragment createFragment() {
        UUID id=(UUID)getIntent().getSerializableExtra("crimeid");
        return CrimeFragment.build(id);
    }
}
